<?php /* Smarty version Smarty-3.1.15, created on 2017-10-01 15:11:11
         compiled from "D:\www\osadmin\uploads\include\template\panel\statistics.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1344958314a05b3a9d2-06410966%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5456f90795e6d9b666953fdc298edc97d248e7c2' => 
    array (
      0 => 'D:\\www\\osadmin\\uploads\\include\\template\\panel\\statistics.tpl',
      1 => 1506841868,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1344958314a05b3a9d2-06410966',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_58314a05b6a170_17117538',
  'variables' => 
  array (
    'osadmin_action_alert' => 0,
    'osadmin_quick_note' => 0,
    'machines' => 0,
    'machine' => 0,
    'page_html' => 0,
    'osadmin_action_confirm' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58314a05b6a170_17117538')) {function content_58314a05b6a170_17117538($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<!--- START 以上内容不需更改，保证该TPL页内的标签匹配即可 --->

<?php echo $_smarty_tpl->tpl_vars['osadmin_action_alert']->value;?>

<?php echo $_smarty_tpl->tpl_vars['osadmin_quick_note']->value;?>


</div>
    <a href="statistics_list.php?method=download" style="display:block;border:1px solid #08c;width:120px;height:20px;text-align:center;">导出未拜访客户</a>
    <div class="block">
	<a href="#page-stats" class="block-heading" data-toggle="collapse">未拜访报警列表</a>
	<div id="page-stats" class="block-body collapse in">
		<table class="table table-striped">
			<thead>
			<tr>
				<th>#</th>
				<th>序列号</th>
				<th>主机货号</th>
				<th>工程师</th>
				<th>拜访记录3个月未更新</th>
				<th>最好一次拜访记录时间</th>
				<th width="80px">操作</th>
			</tr>
			</thead>
			<tbody>							  
			<?php  $_smarty_tpl->tpl_vars['machine'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['machine']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['machines']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['machine']->key => $_smarty_tpl->tpl_vars['machine']->value) {
$_smarty_tpl->tpl_vars['machine']->_loop = true;
?>		 
				<tr>
					<td><?php echo $_smarty_tpl->tpl_vars['machine']->value['machine_id'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['machine']->value['serial_number'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['machine']->value['host_number'];?>
</td>  
					<td><?php echo $_smarty_tpl->tpl_vars['machine']->value['engineer'];?>
</td>
					<td style="color:red;"><?php echo $_smarty_tpl->tpl_vars['machine']->value['tips'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['machine']->value['last_time'];?>
</td>
					<td>
						<a href="machine_modify.php?method=modify&machine_id=<?php echo $_smarty_tpl->tpl_vars['machine']->value['machine_id'];?>
" title="修改" ><i class="icon-pencil"></i></a>
					</td>
				</tr>
			<?php } ?>
		  </tbody>
		</table>  
	</div>
	<!--- START 分页模板 --->
            <?php echo $_smarty_tpl->tpl_vars['page_html']->value;?>

    <!--- END --->
</div>
<!---操作的确认层，相当于javascript:confirm函数--->
<?php echo $_smarty_tpl->tpl_vars['osadmin_action_confirm']->value;?>


<!--- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 --->
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
